<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1 {
            color: blue;
            
        }
        .div2 {
            color: #ff00ff;
        }
        .div3 {
            color: rgb(red, green, blue);
        }
        .div4 {
            color: rgb(255,0,0);
        }
    </style>
</head>
<body>
    <div class="div1">(颜色1)</div>
    <div class="div2">(颜色2)</div>
    <div class="div3">(颜色3)</div>
    <div class="div4">(颜色4)</div>
</body>
</html>